package com.inspur.cmis.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.CMltrMapper;
import com.inspur.cmis.pojo.CMltr;
import com.inspur.cmis.pojo.CMltrExt;
import com.inspur.cmis.service.CMltrService;
@Service
public class CMltrServiceImpl implements CMltrService {
	@Autowired
	private CMltrMapper cMltrMapper;
	@Override
	public List<CMltrExt> getCMltrList(Map map) {
		// TODO Auto-generated method stub
		return cMltrMapper.getCMltrList(map);
	}

	@Override
	public CMltr getCMltr(Map map) {
		// TODO Auto-generated method stub
		return cMltrMapper.getCMltr(map);
	}

	@Override
	public int addCMltr(CMltr CMltr) {
		// TODO Auto-generated method stub
		return cMltrMapper.addCMltr(CMltr);
	}

	@Override
	public int updateCMltr(CMltr CMltr) {
		// TODO Auto-generated method stub
		return cMltrMapper.updateCMltr(CMltr);
	}

	@Override
	public int deleteCMltr(String[] whkeys) {
		// TODO Auto-generated method stub
		return cMltrMapper.deleteCMltr(whkeys);
	}

}
